package org.linlinjava.litemall.wx.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author ：stephen
 * @date ：Created in 2020/6/6 10:30
 * @description：TODO
 */
@Data
@ApiModel(value="辅料信息类",description="辅料信息类")
public class AccessoryVo {
	@ApiModelProperty(value = "辅料id")
    private Integer id;
	@ApiModelProperty(value = "商品id")
    private Integer goodsId;
	@ApiModelProperty(value = "原料id")
    private Integer merchandiseId;
	@ApiModelProperty(value = "辅料组名称")
    private String groupName;
	@ApiModelProperty(value = "辅料名")
    private String name;
	@ApiModelProperty(value = "价格")
    private BigDecimal price;
	@ApiModelProperty(value = "原料单位")
    private String unit;
	@ApiModelProperty(value = "每份辅料的原料数量")
    private Double number;
	@ApiModelProperty(value = "选择的数量")
    private Integer selectNum;
    @ApiModelProperty(value = "计费类型(0:次(按次计费只需增加一次费用),1:份)")
    private Integer costType;

}
